//
//  WebData.h
//  Conference
//
//  Created by 陈鑫 on 12-11-16.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#define WDDEBUG

@interface WebData : NSObject {
    
    NSString *methodUserCheckVersion;
    NSString *methodGetMemberAlarm;
    NSString *methodGetMemberSchedule;
    NSString *methodGetMemberScheduleDate;
    NSString *methodGetNews;
    NSString *methodGetNewsDetail;
    NSString *methodGetHotelInfo;
    NSString *methodGetEleInfo;
    NSString *methodUpdateGps;
    NSString *methodGetActivityPlaceInfo;
    NSString *methodGetPlaceDetail;
    NSString *methodGetEleSpeakInfo;
    NSString *methodGetEleSpeakInfoDetail;
    NSString *methodGetActivities;
    NSString *methodGetActivitiesDetail;
    NSString *methodGetCustomerInfo;
    NSString *methodPutCustomerInfo;
    NSString *methodGetFlight;
    NSString *methodGetFlightDetail;
    NSString *methodGetRandMember;
    NSString *methodUpdatePrivacy;
	
}




+(WebData *)getInstance;
-(NSString *) getInfo:(NSString *) function parms:(NSDictionary*) parms;
-(NSString* ) sendRequest:(NSString*) function parms:(NSDictionary*) parms;
-(NSString*) getReturn:(NSString*) stringReply function:(NSString *)function;
- (NSString *) uniqueGlobalDeviceIdentifier;
//- (NSString *) uniqueDeviceIdentifier;
-(BOOL)isNetworkAvailable;

-(NSString *)userCheckVersion:(NSString *)userCode pwd:(NSString *)pwd;
-(NSString *)getMemberAlarm;
-(NSString *)getMemberSchedule:(NSString*)selectDate;
-(NSString *)getNews;
-(NSString *)getNewsDetail:(int)newId;
-(NSString *)getHotelInfo;
-(NSString *)getEleInfo;
-(NSString *)updateGps:(NSString *)longitude dimension:(NSString *)dimension;
-(NSString *)getActivityPlaceInfo:(NSString *)preDate;
-(NSString *)getPlaceDetail:(int)placesId;
-(NSString *)getEleSpeakInfo:(NSString *)preDate;
-(NSString *)getActivities;
-(NSString *)getActivitiesDetail:(int)activitiesId;
-(NSString *)getCustomerInfo:(int)messageID;
-(NSString *)putCustomerInfo:(NSString *)question;
-(NSString *)getFlight:(NSString *)type preUpdate:(NSString *)preUpdate;
-(NSString *)getFlightDetail:(NSString *)type _id:(int)_id;
-(NSString *)getRandMember;
-(NSString *)getMemberScheduleDate;
-(NSString *)updatePrivacy:(NSString*)isCheck;
@end
